﻿using NewsPortal.Domain;
using NewsPortal.Modularity.Core;
using System.Web.Mvc;

namespace TestPlugins
{
    public class PollModule: ModuleControllerBase<Grid>, IModule
    {
        public PollModule()
        {

        }
        public string Name
        {
            get { return "Poll"; }
        }

        public string Description
        {
            get { return "this module will create poll for you in blogs"; }
        }

        public ActionResult Index()
        {
            return Content("Poll module index action");
        }

        public ActionResult Details()
        {
            return Content("Poll module details action");
        }
    }
}
